<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/page/share/taglib.jsp"  %>
<%@ taglib uri="/WEB-INF/classes/META-INF/oscache.tld" prefix="cache"%>
<cache:cache time="120">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta http-equiv="Cache-Control" content="no-transform" />
<title>${bookInfo.title }  ${chapter.title }- ${siteInfo.sitename }</title>
<link href="/skin/default/css/zj.css" rel="stylesheet" type="text/css" />
<meta name="keywords" content="${chapter.title }"/>
<meta name="description" content="${fn:substring(chapter.content, 0, 30)}……"/>
<script type="text/javascript" src="/skin/default/js/font.js"></script>
<script type="text/javascript">
document.onkeydown=nextpage;
	function nextpage(event) 
	{
		var prepage = document.getElementById("prepage").value;
		var postpage = document.getElementById("postpage").value;
		var index_page = document.getElementById("index_page").value;
		event = event ? event : (window.event ? window.event : null);
		if (event.keyCode==13) 
			location.href = index_page;
		if (event.keyCode==37) 
		{
			if (prepage != '') location.href = prepage;
			else
				alert('这是第一页');
		}
		if (event.keyCode==39) 
		{
			if (postpage != '')
			{
				location.href = postpage;	
			}
			else
				alert('已经是最后一页了');
		}
	}
</script>
</head>
<body>
<input type="hidden" id="prepage" value="${chapter.preurl }"/>
<input type="hidden" id="postpage" value="${chapter.posturl }"/>
<input type="hidden" id="index_page" value="${bookInfo.readurl }"/>
<div id="mains">
    <div id="book_middle">
     	   <div class="book_middle_article">
           <div class="book_middle_title"><span>双击开始滚动屏幕</span>当前位置：<a href='${siteInfo.siteurl }'>${siteInfo.sitename }</a> > <a href='${bookInfo.typeurl }'>${bookInfo.typename }</a> > <a href='${bookInfo.readurl }'>${bookInfo.title }</a> >  章节正文</div>
              <div class="book_middle_text" id="bgdiv">
                <dl>
    		<div class="adtext"><span id='adbanner_1'></span></div>
                  <dt>${chapter.title }</dt>
    		<div class="sdt"><script type="text/javascript">TplTextSelect();</script></div>
                  <dd>
		    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
		    <tr><td align="right"><!-- 广告 --></td>
		    <td align="left"><!-- 广告 --></td>
		    <td align="left"><!-- 广告 --></td></tr></table>
		    
                  <div id="booktext">   一秒记住【${siteInfo.sitename }网${siteInfo.siteurl}】为您提供精彩小说阅读。<br />
                  	${chapter.content }
                  </div>
                  </dd>
                </dl>
              </div>
          </div>
	<div class="zj_neirong_xiagg"><!-- 广告960*90 --></div>
        <div class="book_middle_text_next">
        <c:if test="${chapter.preurl != null }"><a href="${chapter.preurl }">上一章</a></c:if>&nbsp;&nbsp;&nbsp;<a href="${bookInfo.readurl }">返回目录</a>&nbsp;&nbsp;&nbsp;<c:if test="${chapter.posturl != null }"><a href="${chapter.posturl }">下一章</a></c:if>
        </div>
    </div>
  </div>
  <%@ include file="/WEB-INF/page/templates/default/foot.jsp"  %>
</body>
</html>
</cache:cache>
